package com.tengju.data.domain.model.clickhouse.dashboard;

import com.tengju.data.domain.model.user.UserIdCode;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * @Date: 2021/5/6 17:26
 * @Description:
 */
public interface DashBoardMarketRespository {

    List<DashBoardMarketInfo> getKABrandMarketSort(Integer dateType,
                                                   String startMonth,
                                                   String endMonth,
                                                   String mediumMonth,
                                                   List<Long> idCodeList);

    List<DashBoardMarketInfo> getSecGoodsMarketSort(Integer dateType,
                                                    String startMonth,
                                                    String endMonth,
                                                    String mediumMonth,
                                                    List<Long> idCodeList);

    DashBoardPeopleAnalysisInfo getKAPeopleAnalysis(List<Long> idCodeList);

    DashBoardPeopleAnalysisInfo getSECPeopleAnalysis(Long secIdCode);

    List<DashBoardMarketInfo> getSECBrandMarketSort(Integer dateType,
                                                    String startMonth,
                                                    String endMonth,
                                                    String mediumMonth,
                                                    List<Long> idCodeList);

    List<UserIdCode> getDominationIdCode(Integer dateType,
                                         String lastMonthDate,
                                         List<Long> idCodeList);
}
